<?php
session_start();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Ban Ga</title>


<link href="style/css1.css" rel="stylesheet" type="text/css" />
</head>

<body>

<div id="khung">

	<div id="header">
    	<div id="left_header">
    	
    	</div><!--left_header-->
        <div id="right_header">
    	
    	</div><!--right_header-->
    </div><!--header-->
    <div id="menu">
    	<div id="left_menu">
    	<ul>
       	  <li><a href="#">Trang Chủ</a></li>
          <li><a href="#">Giới Thiệu</a></li>
          <li><a href="#">Sản Phẩm</a></li>
          <li><a href="#">Đường Đi</a></li>
          <li><a href="web/bando.php">Liên Hệ</a></li>
        </ul>
    	</div><!--left_menu-->
        <div id="right_menu">
          <label for="timkiem"></label>
          <input name="timkiem" type="text" class="timkiem" id="timkiem" value="" />
        </div>
        <!--right_menu-->
    </div><!--menu-->
    <div id="main">
    	<div id="left_main">
        
    	<?php
		include("web/left.php");
		
		
		?>
    	</div><!--left_main-->
        <div id="right_main">
    		<div id="liveshow">
            	<div id="left_liveshow">
                left liveshow
                </div><!--left_liveshow-->
                <div id="right_liveshow">
                right liveshow
                </div><!--right_liveshow-->
            </div><!--liveshow-->
            <div id="spmain">
            <script type="text/javascript" 
src="http://maps.googleapis.com/maps/api/js?sensor=false&language=vi"></script>
<script type="text/javascript">
var map;
function initialize() {
      var myLatlng = new google.maps.LatLng(10.817509, 106.810515);
      var myOptions = {
    zoom: 16,
    center: myLatlng,
    mapTypeId: google.maps.MapTypeId.ROADMAP
}
map = new google.maps.Map(document.getElementById("div_id"), myOptions); 
  // Biến text chứa nội dung sẽ được hiển thị
var text;
text= "<b style='color:#00F' " + 
         "style='text-align:center'>Trại Gà Bình Minh!<br />" + 
     "<img src='thesun.jpg'  /></b>";
   var infowindow = new google.maps.InfoWindow(
    { content: text,
        size: new google.maps.Size(100,50),
        position: myLatlng
    });
       infowindow.open(map);    
    var marker = new google.maps.Marker({
      position: myLatlng, 
      map: map,
      title:"Trường ĐH GTVT TP.HCM!"
  });
}
</script>
            <?php
			$act = $_GET["act"];
			$idhang = $_GET["idhang"];
			
			if($act=="" && $idhang=="")
			include("web/spdactrung.php.php");
			else if($idhang)
			include("web/sptheoloai.php.php");
			
			else
			include("web/spdactrung.php.php");
			
			
			?>
            </div><!--spmain-->
    	</div><!--right_main-->
    </div><!--main-->
    <div id="sanpham">
    san pham
    </div><!--sanpham-->
    <div id="footer">
    footer
    </div><!--footer-->	
    
</div><!--khung -->
</body>
</html>